<form id="pagerForm" method="post" action="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/index/')}">
	<input type="hidden" name="pageNum" value="{$currentPage|default='1'}" />
	<input type="hidden" name="numPerPage" value="{$numPerPage}" />
	<input type="hidden" name="_order" value="{$_REQUEST._order}"/>
	<input type="hidden" name="_sort" value="{$_REQUEST._sort}"/>
</form>

<div class="pageContent" style="border-left:1px #B8D0D6 solid;border-right:1px #B8D0D6 solid">
<div class="panelBar">
		<ul class="toolBar">
			<in name="account_addId" value="$Think.session.rules">
				<li><a class="add" href="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/add','','')}" target="navTab" rel="accountAdd" title="新增帐套"><span>新增帐套</span></a></li>
				<li class="line">line</li>
			</in>
		</ul>
	</div>
	<table class="table" width="99%" layoutH="75">
		<thead>
			<tr>
				<th>序号</th>
				<th orderField="sequence" <if condition="$Think.REQUEST._order eq 'sequence'">class="{$Think.REQUEST._sort}"</if>>帐套编号</th>
				<th width="">创建时间</th>
				<th width="">操作</th>
			</tr>
		</thead>
		<tbody>
			<foreach name="list" item="v" key="k">
				<tr target="sid_supplier" rel="{$v['id']}">
					<td>{$k+1}</td>
					<td><a target="navTab" href="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/showlist/',array('id'=>$v['id'],'sequence'=>$v['sequence']),'')}" rel="storageList">{$v['sequence']}</a></td>
					<td>{$v['createtime']|date='Y-m-d H:m:s',###}</td>
					<td>
						<in name="account_listId" value="$Think.session.rules">
							<a title="入库列表" target="navTab" href="{:U(MODULE_NAME.'/'.CONTROLLER_NAME.'/showlist/',array('id'=>$v['id'],'sequence'=>$v['sequence']),'')}" class="btnInfo" rel="storageList">入库明细</a>
						</in>
					</td>
				</tr>
			</foreach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>显示</span>
			<select class="combox" name="numPerPage" onchange="navTabPageBreak({$Think.config.TMPL_L_DELIM}numPerPage:this.value{$Think.config.TMPL_R_DELIM})">
				<option value="10" <if condition="$numPerPage eq 10">selected</if>>10</option>
				<option value="20" <if condition="$numPerPage eq 20">selected</if>>20</option>
				<option value="50" <if condition="$numPerPage eq 50">selected</if>>50</option>
				<option value="100" <if condition="$numPerPage eq 100">selected</if>>100</option>
			</select>
			<span>条，共{$totalCount}条</span>
		</div>

		<div class="pagination" targetType="navTab" totalCount="{$totalCount}" numPerPage="{$numPerPage}" pageNumShown="{$pageNumShown}" currentPage="{$currentPage}"></div>

	</div>
</div>